xen: CFI hardening for open_softirq()
authorAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 29 Oct 2021 09:58:21 +0000 (10:58 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Feb 2022 15:33:43 +0000 (15:33 +0000)
commit078dfe2fe0084e9a656928a186213821c5c5bad4
tree103b95925b3146328c57e8977bacddd83fa3c0ff
parent4ea76ad84748b49a46b71c64772531e81dd2fd42
xen: CFI hardening for open_softirq()

Control Flow Integrity schemes use toolchain and optionally hardware support
to help protect against call/jump/return oriented programming attacks.

Use cf_check to annotate function pointer targets for the toolchain.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mcheck/mce.c
xen/arch/x86/domain.c
xen/arch/x86/include/asm/flushtlb.h
xen/arch/x86/pv/traps.c
xen/arch/x86/smp.c
xen/arch/x86/time.c
xen/common/rcupdate.c
xen/common/sched/core.c
xen/common/tasklet.c
xen/common/timer.c
xen/drivers/passthrough/x86/hvm.c